/**
 * Copyright (c) 2019 xstgongyi.org
 * All rights reserved.
 */
package org.xstgongyi.eduaid.dataobject;

import java.time.LocalDateTime;

/**
 * 银行交易流水
 * 
 * @author oldcrane<br/>
 * @created 2019-04-19
 */
public class BankTransactionDO implements java.io.Serializable {
	private static final long serialVersionUID = 1L;

	private Integer id;
	private Integer accountId;
	private String transactionSn; // 银行交易流水号
	private LocalDateTime transactionTime;
	private Integer type; // 转入：1，转出：-1
	private Integer amount;
	private Integer balance;
	private String counterPartyAccountName;
	private String counterPartyAccountNumber;
	private String counterPartyBank;
	private String remark;
	private Boolean locked;
	private LocalDateTime gmtCreated;
	private LocalDateTime gmtUpdated;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getAccountId() {
		return accountId;
	}

	public void setAccountId(Integer accountId) {
		this.accountId = accountId;
	}

	public String getTransactionSn() {
		return transactionSn;
	}

	public void setTransactionSn(String transactionSn) {
		this.transactionSn = transactionSn;
	}

	public LocalDateTime getTransactionTime() {
		return transactionTime;
	}

	public void setTransactionTime(LocalDateTime transactionTime) {
		this.transactionTime = transactionTime;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getAmount() {
		return amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	public Integer getBalance() {
		return balance;
	}

	public void setBalance(Integer balance) {
		this.balance = balance;
	}

	public String getCounterPartyAccountName() {
		return counterPartyAccountName;
	}

	public void setCounterPartyAccountName(String counterPartyAccountName) {
		this.counterPartyAccountName = counterPartyAccountName;
	}

	public String getCounterPartyAccountNumber() {
		return counterPartyAccountNumber;
	}

	public void setCounterPartyAccountNumber(String counterPartyAccountNumber) {
		this.counterPartyAccountNumber = counterPartyAccountNumber;
	}

	public String getCounterPartyBank() {
		return counterPartyBank;
	}

	public void setCounterPartyBank(String counterPartyBank) {
		this.counterPartyBank = counterPartyBank;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Boolean getLocked() {
		return locked;
	}

	public void setLocked(Boolean locked) {
		this.locked = locked;
	}

	public LocalDateTime getGmtCreated() {
		return gmtCreated;
	}

	public void setGmtCreated(LocalDateTime gmtCreated) {
		this.gmtCreated = gmtCreated;
	}

	public LocalDateTime getGmtUpdated() {
		return gmtUpdated;
	}

	public void setGmtUpdated(LocalDateTime gmtUpdated) {
		this.gmtUpdated = gmtUpdated;
	}

	@Override
	public String toString() {
		return "BankTransactionDO [id=" + id + ", accountId=" + accountId + ", transactionTime=" + transactionTime
				+ ", type=" + type + ", amount=" + amount + ", balance=" + balance + "]";
	}

}
